Optimal. Leaf size=256 \[ \frac{(m+1) (e x)^{m+1} \sin ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (9 b^2 d^2 n^2+(m+1)^2\right )}+\frac{6 b^2 d^2 (m+1) n^2 (e x)^{m+1} \sin \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (b^2 d^2 n^2+(m+1)^2\right ) \left (9 b^2 d^2 n^2+(m+1)^2\right )}-\frac{6 b^3 d^3 n^3 (e x)^{m+1} \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (b^2 d^2 n^2+(m+1)^2\right ) \left (9 b^2 d^2 n^2+(m+1)^2\right )}-\frac{3 b d n (e x)^{m+1} \sin ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (9 b^2 d^2 n^2+(m+1)^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.117907, antiderivative size = 256, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {4487, 4485} \[ \frac{(m+1) (e x)^{m+1} \sin ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (9 b^2 d^2 n^2+(m+1)^2\right )}+\frac{6 b^2 d^2 (m+1) n^2 (e x)^{m+1} \sin \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (b^2 d^2 n^2+(m+1)^2\right ) \left (9 b^2 d^2 n^2+(m+1)^2\right )}-\frac{6 b^3 d^3 n^3 (e x)^{m+1} \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (b^2 d^2 n^2+(m+1)^2\right ) \left (9 b^2 d^2 n^2+(m+1)^2\right )}-\frac{3 b d n (e x)^{m+1} \sin ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left (9 b^2 d^2 n^2+(m+1)^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4487
Rule 4485
Rubi steps
\begin{align*} \int (e x)^m \sin ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=-\frac{3 b d n (e x)^{1+m} \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right ) \sin ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left ((1+m)^2+9 b^2 d^2 n^2\right )}+\frac{(1+m) (e x)^{1+m} \sin ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left ((1+m)^2+9 b^2 d^2 n^2\right )}+\frac{\left (6 b^2 d^2 n^2\right ) \int (e x)^m \sin \left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx}{(1+m)^2+9 b^2 d^2 n^2}\\ &=-\frac{6 b^3 d^3 n^3 (e x)^{1+m} \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left ((1+m)^2+b^2 d^2 n^2\right ) \left ((1+m)^2+9 b^2 d^2 n^2\right )}+\frac{6 b^2 d^2 (1+m) n^2 (e x)^{1+m} \sin \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left ((1+m)^2+b^2 d^2 n^2\right ) \left ((1+m)^2+9 b^2 d^2 n^2\right )}-\frac{3 b d n (e x)^{1+m} \cos \left (d \left (a+b \log \left (c x^n\right )\right )\right ) \sin ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left ((1+m)^2+9 b^2 d^2 n^2\right )}+\frac{(1+m) (e x)^{1+m} \sin ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e \left ((1+m)^2+9 b^2 d^2 n^2\right )}\\ \end{align*}
Mathematica [A] time = 1.20835, size = 326, normalized size = 1.27 \[ \frac{1}{4} x (e x)^m \left (\frac{3 \cos (b d n \log (x)) \left ((m+1) \sin \left (d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )-b d n \cos \left (d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )\right )}{b^2 d^2 n^2+m^2+2 m+1}+\frac{3 \sin (b d n \log (x)) \left ((m+1) \cos \left (d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )+b d n \sin \left (d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )\right )}{b^2 d^2 n^2+m^2+2 m+1}-\frac{\cos (3 b d n \log (x)) \left ((m+1) \sin \left (3 d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )-3 b d n \cos \left (3 d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )\right )}{9 b^2 d^2 n^2+m^2+2 m+1}-\frac{\sin (3 b d n \log (x)) \left ((m+1) \cos \left (3 d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )+3 b d n \sin \left (3 d \left (a+b \log \left (c x^n\right )-b n \log (x)\right )\right )\right )}{9 b^2 d^2 n^2+m^2+2 m+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.092, size = 0, normalized size = 0. \begin{align*} \int \left ( ex \right ) ^{m} \left ( \sin \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \right ) ^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.548708, size = 695, normalized size = 2.71 \begin{align*} -\frac{{\left ({\left (m^{3} +{\left (b^{2} d^{2} m + b^{2} d^{2}\right )} n^{2} + 3 \, m^{2} + 3 \, m + 1\right )} x \cos \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )^{2} -{\left (m^{3} + 7 \,{\left (b^{2} d^{2} m + b^{2} d^{2}\right )} n^{2} + 3 \, m^{2} + 3 \, m + 1\right )} x\right )} e^{\left (m \log \left (e\right ) + m \log \left (x\right )\right )} \sin \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right ) - 3 \,{\left ({\left (b^{3} d^{3} n^{3} +{\left (b d m^{2} + 2 \, b d m + b d\right )} n\right )} x \cos \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )^{3} -{\left (3 \, b^{3} d^{3} n^{3} +{\left (b d m^{2} + 2 \, b d m + b d\right )} n\right )} x \cos \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )\right )} e^{\left (m \log \left (e\right ) + m \log \left (x\right )\right )}}{9 \, b^{4} d^{4} n^{4} + m^{4} + 4 \, m^{3} + 10 \,{\left (b^{2} d^{2} m^{2} + 2 \, b^{2} d^{2} m + b^{2} d^{2}\right )} n^{2} + 6 \, m^{2} + 4 \, m + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]